package com.saturn.config.server.base.dto;

import java.io.Serializable;
import java.util.List;

public class ResultPage implements Serializable {

	private static final long serialVersionUID = -2603667360288307783L;

	private Integer start = 1;
	
	private Integer pageSize = 100;
	
	private Integer totalCount;
	
	private List<?> root;
	
	public ResultPage(){}
	
	public ResultPage(List<?> vo,Integer totalCount,Integer start){
		this.root = vo;
		this.totalCount = totalCount;
		this.start = start;
	}

	public Integer getPageSize() {
		return pageSize;
	}


	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}


	public Integer getTotalCount() {
		return totalCount;
	}


	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public List<?> getRoot() {
		return root;
	}

	public void setRoot(List<?> root) {
		this.root = root;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

}
